package cn.com.db.dao;

import cn.com.db.model.Taste;
import cn.com.db.model.Taste;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface TasteDao {

    void createTaste(Taste taste);

    Taste getTasteById(String id);

    List<Taste> getTaste();

    Integer countTaste();

    void update(Taste taste);

}
